const routes = [
  {
    path: '/commodity/list/:id?',
    name: 'commodity',
    component: () => import('../pages/commodity/index.vue'),
    meta: {
      requiresAuth: true,
    },
  },
  {
    path: '/commodity/add',
    name: 'commodityAdd',
    component: () => import('../pages/commodity/add.vue'),
    meta: {
      requiresAuth: true,
    },
  },
];

export default routes;

